package com.aaa.vegetablemarketexpress.service;

import com.aaa.vegetablemarketexpress.entity.OperLog;
import com.aaa.vegetablemarketexpress.util.Page;
import com.aaa.vegetablemarketexpress.vo.OperLogCountVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @FileName: OperarteService
 * @Description:
 * @Author: HQH
 * @CreateTime: 2025/9/17 16:02
 * @Version: 1.0.0
 */
public interface OperateService {
    /**
     * 添加方法
     * @param operLog
     * @return
     */
    int add(OperLog operLog);

    /**
     * 分页查询 方法
     * @param page
     * @param
     * @return
     */
    PageInfo<OperLog> selectOperLogList(Page<OperLog> page);
    /**
     * 根据年月查询echats图表展示数据
     * @param yearMonth
     * @return
     */
    List<OperLogCountVo> queryEchartsDataByYearMonth(String yearMonth);
}
